/*
 * File:   MoveParser.h
 * Author: crash
 *
 * Created on February 28, 2011, 6:43 PM
 */

#ifndef MOVEPARSER_H
#define	MOVEPARSER_H

#include "ChessMove.h"
#include <iosfwd>

class MoveParser
{
public:
    MoveParser(std::istream*);

    bool good();

    std::auto_ptr<ChessMove> getNextMove();

    void swap(std::istream&);
private:
    std::istream* in;
};

#endif	/* MOVEPARSER_H */

